<?php
namespace app\application\model;

use think\Model;

class Overmodel extends Model
{
      protected  $table='oa_overtime';
      /*
       * @param $data  web端form表单post的数据
       * */
      public function insert($data){
           $model=new Overmodel();
           $model->data=$data;
           if($model->save()){
               return true;
           }else{
               return false;
           }
      }
}